<template>
  <div :class="tip ? `border_item_${type}` : ''" v-on="$listeners">
    <slot></slot>
    <div :class="tip ? `color_${type}` : ''">{{ $tt(tip) }}</div>
  </div>
</template>

<script>
export default {
  name: 'bottom-tip-item',
  props: {
    tip: {
      type: String,
      default: null
    },
    type: {
      type: String,
      default: 'danger'
    }
  },

}
</script>
